<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
import $ from 'jquery'
export default {
  name: 'app',
  // components: {
  // },
  watch: {
    '$route.path':function(){
      $(function(){
    $('html,body').animate({scrollTop:'0'},10);
    })
    }
  },
}
</script>
<style>
*{margin: 0;padding: 0;}
li{list-style: none;}
a{text-decoration: none;}
.clear{clear:both;}
#app {font-family: '微软雅黑';font-size: 16px;width: 100%;margin: 0 auto;}
.center{width:82%;margin: 0 auto;}
</style>
